Skip to content

Button: support <input> tag wrapped in <label> tag. Fix #6063, Button doesn't support radio input inside label.#531

Closed
pjw91 wants to merge 2 commits intojquery:masterfrom
pjw91:master
Closed

Button: support <input> tag wrapped in <label> tag. Fix #6063, Button doesn't support radio input inside label.#531
pjw91 wants to merge 2 commits intojquery:masterfrom
pjw91:master

Conversation

@pjw91
Copy link

@pjw91 pjw91 commented Nov 22, 2011

No description provided.

Signed-off-by: mail6543210 <mail6543210@yahoo.com.tw>
@pjw91
Copy link
Author

pjw91 commented Nov 22, 2011

Actually I'm not really sure how does the unit-test work, I just guess and edit the button.html.
If my guess is correct, please also let mo know.
Thanks.

@fajan
Copy link

fajan commented Oct 19, 2012

I did some other approach for the same bug: I just updated the _determineButtonType to check for parents, and if matched just temporary detached the input from DOM. #777

And for unit test: I don't know either, but just after a quick look: maybe it requires a '#6063' test case in https://github.com/jquery/jquery-ui/blob/master/tests/unit/button/button_tickets.js too?

@mikesherov
Copy link
Member

Thanks for the patch, but reviewing the underlying ticket we closed it as wontfix, see @jzaefferer's comment there: http://bugs.jqueryui.com/ticket/6063#comment:13

@mikesherov mikesherov closed this Nov 10, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants